const INFO = {
  '50000': '连接后端出错。'
}

function error(number, file, place) {
  console.log(
    `A ERROR\nNumber:${number},Info:${INFO[number]}\nFile:${file}\nPlace:${place}`
  )
}

module.exports = {
  INFO,
  error
}
